import { instance } from '@/utils/network'

// 注册
export const registerNetwork = (obj) => {
  return instance.post('/api/reg', obj)
}

// 登录
export const loginNetwork = (obj) =>{
  return instance.post('/api/login', obj)
}